import java.util.Scanner;
public class Test5 {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int x = scanner.nextInt();
		String string = Integer.toBinaryString(x);
		if (x == 0) 
			System.out.println(32);
		else
			System.out.println(32 - string.length());
		scanner.close();
	}
}
